package com.yuan.bean;


import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class UserLogin {

    private Integer userId;
    private String userName;
    private String password;
    private Integer num;
    private String company;
    private String job;
    private boolean isManager;

    public void setIsManager(boolean manager){
        this.isManager=manager;
    }

    public UserLogin(String userName,String password,boolean isManager){
        this.userName=userName;
        this.password=password;
        this.isManager=isManager;
    }

}
